SINGLE_ENDED_SIGNED=UNSIGNED, AVG_MODE=ACCUNDUMP, DIFFERENTIAL_SIGNED=UNSIGNED, UAB_SCAN_MODE=UNSCHEDULED
Sample control register.
LEFT_ALIGN | Left align data in data[15:0], default data is right aligned in data[11:0], with sign extension to 16 bits if the channel is differential. |
SINGLE_ENDED_SIGNED | Output data from a single ended conversion as a signed value 0 (UNSIGNED): Default: result data is unsigned (zero extended if needed) 1 (SIGNED): result data is signed (sign extended if needed) |
DIFFERENTIAL_SIGNED | Output data from a differential conversion as a signed value when DIFFERENTIAL_EN or NEG_ADDR_EN is set to 1 0 (UNSIGNED): result data is unsigned (zero extended if needed) 1 (SIGNED): Default: result data is signed (sign extended if needed) |
AVG_CNT | Averaging Count for channels that have averaging enabled (AVG_EN). A channel will be sampled (1<<(AVG_CNT+1)) = [2…256] times.
|
AVG_SHIFT | Averaging shifting: after averaging the result is shifted right to fit in 12 bits. |
AVG_MODE | Averaging mode, in DSI mode this bit is ignored and only AccuNDump mode is available. 0 (ACCUNDUMP): Accumulate and Dump (1st order accumulate and dump filter): a channel will be sampled back to back and averaged 1 (INTERLEAVED): Interleaved: Each scan (trigger) one sample is taken per channel and averaged over several scans. |
CONTINUOUS |
|
DSI_TRIGGER_EN |
|
DSI_TRIGGER_LEVEL |
|
DSI_SYNC_TRIGGER |
|
UAB_SCAN_MODE | Select whether UABs are scheduled or unscheduled. When no UAB is scanned this selection is ignored. 0 (UNSCHEDULED): Unscheduled UABs: one or more of the UABs scanned by the SAR is not scheduled, for each channel that scans a UAB the SAR will wait for a positive edge on the trigger output of that UAB. Caveat: in this mode the length of SAR scan can be variable. 1 (SCHEDULED): Scheduled UABs: All UABs scanned by the SAR are assumed to be properly scheduled, i.e. their output is assumed to be valid when sampled by the SAR and the SAR does not wait. In this mode the length of the SAR scan is constant. This mode requires that the SAR scans strictly periodically, i.e. the SAR has to either run continuously or has to be triggered by a periodic hardware trigger (TCPWM or UDB timer). It also requires that the end of the UAB valid phase is precisely aligned with the end of the SAR sample period (using UAB.STARTUP_DELAY). Normally this scheduling is done by Creator. |
REPEAT_INVALID | For unscheduled UAB_SCAN_MODE only, do the following if an invalid sample is received:
|
VALID_SEL | Static UAB Valid select 0=UAB0 half 0 Valid output 1=UAB0 half 1 Valid output 2=UAB1 half 0 Valid output 3=UAB1 half 1 Valid output 4=UAB2 half 0 Valid output 5=UAB2 half 1 Valid output 6=UAB3 half 0 Valid output 7=UAB3 half 1 Valid output |
VALID_SEL_EN | Enable static UAB Valid selection (override Hardware) |
VALID_IGNORE | Ignore UAB valid signal, including the dynamic/Hardware from AROUTE and the static Valid selection from the VALID_SEL fields above |
TRIGGER_OUT_EN | SAR output trigger enable (used for UAB synchronization). To ensure multiple UABs starting at the same trigger it is recommended to use this bit to temporarily disable the trigger output until all those UABs are set to run (UAB.SRAM_CTRL.RUN=1). |
EOS_DSI_OUT_EN | Enable to output EOS_INTR to DSI. When enabled each time EOS_INTR is set by the hardware also a trigger pulse is send on the tr_sar_out signal. |